package com.huilian.cloud.module.system.controller.admin.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
@Data
public class RouterVo {
    private static final long serialVersionUID = 1L;
    @Schema(
            description = "路由名字"
    )
    private String name;
    @Schema(
            description = "路由地址"
    )
    private String path;
    @Schema(
            description = "是否隐藏路由"
    )
    private boolean hidden;
    @Schema(
            description = "重定向地址"
    )
    private String redirect;
    @Schema(
            description = "组件地址"
    )
    private String component;
    @Schema(
            description = "当你一个路由下面的 children 声明的路由大于1个时，自动会变成嵌套的模式--如组件页面"
    )
    private Boolean alwaysShow;
    @Schema(
            description = "其他元素"
    )
    private MetaVo meta;
    @Schema(
            description = "菜单id"
    )
    private Integer menuId;
    @Schema(
            description = "菜单类型"
    )
    private String menuType;
    @Schema(
            description = "项目类型"
    )
    private String projectType;
    @Schema(
            description = "是否外链"
    )
    private Integer isFrame;
    @Schema(
            description = "备注"
    )
    private String remark;
    @Schema(
            description = "是否常用页面"
    )
    private String oftenUsedMenu;
    @Schema(
            description = "是否是三方系统 1 不是 2是"
    )
    private Integer systemType;
    @Schema(
            description = "三方系统id"
    )
    private Integer tripartiteId;
    @Schema(
            description = "模型类型/项目类型"
    )
    private String modelType;
    @Schema(
            description = "子路由"
    )
    private List<RouterVo> children;
}
